﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="admin_tap_chi_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
      <title>Kimland - Quản trị tạp chí</title>
     <script type="text/javascript">
         $(function () {
             $(".headerR li:eq(5)").addClass("active");
         })
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="body">
    <div class="bodyL">
        <p class="gOval"><a href="/admin/tap-chi/default.aspx" class="tapchi"></a></p>
    </div>
           
    <div class="bodyR">
        <div class="topCatBR">
            <p class="l"></p>
            <div class="m">
                <p class="pos">
                    <a href="/admin/tap-chi/default.aspx">Tạp chí</a>
                </p>
            </div>            
            <p class="r"></p>
        </div>
        <div class="boxBorder" style="height:500px;min-height:500px;height:auto">
            <div class="info_div" id="fail" runat="server" visible="false">        
                <asp:Label ID="lblMessage" runat="server" Text="" CssClass="ico_cancel"></asp:Label>
            </div>
            <asp:Button ID="btnXoa" runat="server" Text="Xóa" CssClass="buttonA" OnClientClick="return doDel();" onclick="btnDel_Click"/>
            <a href="/admin/tap-chi/editor.aspx" class="buttonA">Thêm mới</a>
            <table id="table">
	            <thead>
	            <tr>
		            <th><input type="checkbox" class="noborder" onclick="doCheckAll(this)"/></th>
		            <th>Tạp chí</th>
		            <th>Ngày cập nhật</th>
                    <th width="100px">Action</th>
	            </tr>
	            </thead>
	            <tbody>
                <asp:Repeater ID="repTC" runat="server"  >
                <ItemTemplate>
                <tr>
		            <td class="table_check">
                        <input type="checkbox" id='<%# Eval("id") %>' group='check'/>
                    </td>
		            <td class="table_title">
                       <img src='<%# LIB.App_Constant.PATH_UP_IMAGES_SLIDE + "/" + Eval("tcAvatar")%>' class="imgAdmin"/>
                        <a href='#'><%# Eval("tcName")%> </a>
                    </td>	
                    <td><%# LIB.ConvertUtility.ConvertDateTimeVN1(Convert.ToDateTime(Eval("tcDateTime").ToString()))%></td>
                    <td align="center">                    
                        <a href="/admin/tap-chi/editor.aspx?id=<%# Eval("id") %>" class="buttonSA">Sửa</a>  
                    </td>
	            </tr>
                </ItemTemplate>
                </asp:Repeater>	        
	            </tbody>
            </table>
	          <div class="page" style="text-align:center;margin:15px 0px">
                <asp:Label ID="pagerbot" CssClass="pager" runat="server" Text=""></asp:Label>
            </div>
            <asp:HiddenField ID="hidKeyDel" runat="server" /> 
        </div>
    </div>
</div>
</asp:Content>







